package com.sky.service.user;

import com.sky.dto.*;
import com.sky.result.Result;
import com.sky.vo.OrderSubmitVO;

public interface OrderService {

    /**
     * 用户下单
     * @param ordersSubmitDTO
     * @return
     */
    OrderSubmitVO submitOrder(OrdersSubmitDTO ordersSubmitDTO);

    /**
     * 计算预计送达时间
     * @param shopId
     * @param customerAddress
     * @return
     */
    Result<String> getgetEstimatedDeliveryTime(Integer shopId, String customerAddress);
}